package com.mankind.ssm.pojo;

import java.util.Date;

public class UserInfo {
    private Integer userId;

    private String userName;

    private String sex;

    private Date userBirthday;

    private String currentIp;

    private Date recentlyTime;

    private String telephone;

    private String wechat;

    private String email;

    private String job;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(Date userBirthday) {
        this.userBirthday = userBirthday;
    }

    public String getCurrentIp() {
        return currentIp;
    }

    public void setCurrentIp(String currentIp) {
        this.currentIp = currentIp == null ? null : currentIp.trim();
    }

    public Date getRecentlyTime() {
        return recentlyTime;
    }

    public void setRecentlyTime(Date recentlyTime) {
        this.recentlyTime = recentlyTime;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat == null ? null : wechat.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job == null ? null : job.trim();
    }

    public String toString(){
        return "ID:"+userId+" 姓名:"+userName+ " 性别:"+sex+"生日:" +userBirthday+
                "IP:"+currentIp+" 最近登录时间:"+recentlyTime+" 电话:"+telephone+ " 微信号:"+
                wechat+" 邮箱: "+email+"职业："+job;
    }
}